package com.hdax.easybuy.api;

import com.hdax.easybuy.entity.News;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;



@FeignClient(value = "easybuy-news-manager")
public interface NewsManagerClient {

    @RequestMapping("/newsManager/getAllNews")
    public List<News> getAllNews();


}

